﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Android.OS;

namespace ScreenShotDemo
{
    public class CommUtils
    {
        public static void WriteLog(string message)
        {
            Handler handler = new Handler(Looper.MainLooper);
            handler.Post(() =>
            {
                // 在主线程中执行的代码  
                Console.WriteLine(message);
            });
        }
    }
}
